#include "Cloud.h"

Cloud::Cloud()
{
}

Cloud::~Cloud()
{

}

void Cloud::initGameObjectWith(GamePlayScreen *_gameScreen, CCDictionary *_dict)
{
    GameObject::initGameObjectWith(_gameScreen, _dict);

    this->createSprite();
}

void Cloud::createSprite()
{
    sprite = new CCSprite();
    sprite->initWithSpriteFrameName("cloud_0.png");
    sprite->setPosition(getPosFromDict(dataDict, sprite->getContentSize()));
    sprite->setTag(CLOUD);
}
